RectControl.NewDragItem Method

Defines the drag rectangle (based on the coordinates passed) that will appear when the user drags from the control. Returns a new DragItem object.

Syntax

RectControl.NewDragItem Left, Top, Width, Height


Parameters

Left

Integer

Top

Integer

Width

Integer

Height

Integer


Left and Top are the coordinates of the left-top corner of the drag rectangle and Width and Height are the dimensions of the drag rectangle. See the NewDragItem global function, which provides equivalent functionality, as well as support for dragging to a window.